package graphic.scene;

import graphic.primitives.general.GraphicObject;
import graphic.primitives.general.IGraphicObject;
import java.awt.Color;

/**
 *
 * @author Tomas Zima
 */
public class Stage1 extends GraphicObject implements IGraphicObject
{
	@Override
	public void redraw()
	{
		for (int i = 0; i < 210; i++)
		{
			float q = (float) (3 * i) / 1000.0f + 0.05f;
			
			mainWindow.setColor(new Color(0, 0, q));
			mainWindow.line(0, i, 1000, i);
		}

		mainWindow.setColor(Color.BLACK);
	}
}
